package ro.biancaS.assignment;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

public class TimeT 
{
	
	public void getTime()
	{
		DateFormat dateTimeFormat = new SimpleDateFormat("HH:mm");
		Date currentTime = new Date();
		System.out.println(" The current time is : " + dateTimeFormat.format(currentTime));
	}
	
}
